home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
PROGASIC
/
BASFILES.LZH
/
QBTXINIT.BAS
< prev
next >
Wrap
BASIC Source File
|
1988-09-10
|
629b
|
19 lines
'$INCLUDE:'QBTOOLS.INC'
'' '$INCLUDE: 'qbtools2.inc'
'' '$INCLUDE: 'qbt2indx.inc'
'' '-------------------------Standard Include Merge Section-------------------
DEFSNG A-Z
SUB InitNewFile (fl AS INTEGER, Rlen AS INTEGER)
FillLength = Rlen - 4 ' Rest of the record
PutString$ = MKI$(2) + MKI$(2) + STRING$(FillLength, 0)
PUT #fl, 1, PutString$ ' Write header info
PutString$ = MKI$(-1) + STRING$(FillLength + 2, 0)
PUT #fl, 2, PutString$ ' Write first available record info
END SUB